projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f529f8d
)
[IA64] xenitp: correctly size vcpu_ctx array
author
Alex Williamson
<alex.williamson@hp.com>
Mon, 1 Oct 2007 15:59:24 +0000
(09:59 -0600)
committer
Alex Williamson
<alex.williamson@hp.com>
Mon, 1 Oct 2007 15:59:24 +0000
(09:59 -0600)
vcpu_ctx[] array size should be MAX_VIRT_CPUS instead of 1.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
tools/debugger/xenitp/xenitp.c
patch
|
blob
|
history
diff --git
a/tools/debugger/xenitp/xenitp.c
b/tools/debugger/xenitp/xenitp.c
index a203da8c0d1af01db6b420cb142a7223f9e5ae4e..bd7b2502584590735955abe2487f00609704112c 100644
(file)
--- a/
tools/debugger/xenitp/xenitp.c
+++ b/
tools/debugger/xenitp/xenitp.c
@@
-931,7
+931,7
@@
unsigned char *parse_arg (unsigned char **buf)
return res;
}
-vcpu_guest_context_t vcpu_ctx[
1
];
+vcpu_guest_context_t vcpu_ctx[
MAX_VIRT_CPUS
];
int vcpu_setcontext (int vcpu)
{